Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

Previous Next
Subject: Can I use SSJS to redirect a parent window (from iframe)?
Feedback Type: Question
Product Area: Domino Designer on Eclipse (DDE)
Technical Area: Application Development
Platform: Windows
Release: 8.5.2
Reproducible: Not applicable

I have an xPage that is rendered in an iframe inside a normal HTML page.

Under certain conditions, I would like to redirect the user to a totally different web page.

I have used code similar to the following to try and redirect:

externalCtx = facesContext.getExternalContext();
externalCtx.redirect("/differentPage.html");

Unfortunately, that simply replaces the contents of the iframe with the new web page.

I know that I can use the "Parent" object to control redirection using client-side javascript, but is there any way of doing so using SSJS?

Thanks for any advice at all!

T.


Feedback number WEBB8BA2ZU created by ~Wei Asatoopulakol on 11/17/2010

Status: Open
Comments:





Printer-friendly

Search this forum

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS